package com.guigu.tms.oms.controller;

import com.guigu.tms.oms.service.IRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zwj
 * @since 2022-09-27
 */
@RestController
@RequestMapping("/rule")
public class RuleController {
    @Autowired
    private IRuleService ruleService;

    @RequestMapping("reload")
    public boolean reload(){
        return ruleService.reload();
    }
}
